#ifndef CLASSWITHBOOLEAN_H 
#define CLASSWITHBOOLEAN_H 

#include "BearFactory.h"
#include "ClassWithBooleanBear.h"


class ClassWithBoolean
     : public ClassWithBooleanBear
{
public:
    ClassWithBoolean();

    ~ClassWithBoolean();

    //You can edit this part - Start

    //You can edit this part - End
};


class ClassWithBooleanFactory
     : public BBFactory
{
public:
    ClassWithBooleanFactory()
    {
        BearFactory::instance()->registerFactory( "ClassWithBoolean", this );
    }

    ~ClassWithBooleanFactory()
    {
        //DOES NOTHING
    }

    virtual Bear* instance() const
    {
        return new ClassWithBoolean();
    }
};

Q_DECLARE_METATYPE( ClassWithBoolean );

#endif
